package cn.iocoder.yudao.module.scrm.controller.admin.clue.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Builder;
import lombok.Data;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * @Author LiZhiMin
 * @Date 2024/5/21 17:53
 */
@Schema(description = "管理后台 - 线索导入的响应 Response VO")
@Data
@Builder
public class ClueImportExcelRespVO {

    @Schema(description = "创建成功的线索名数组", requiredMode = Schema.RequiredMode.REQUIRED)
    private List<String> createClueNames;

    @Schema(description = "更新成功的线索名数组", requiredMode = Schema.RequiredMode.REQUIRED)
    private List<String> updateClueNames;

    @Schema(description = "导入失败的线索集合，key 为线索中字段名字，value 为失败原因", requiredMode = Schema.RequiredMode.REQUIRED)
    private Map<String, String> failureClueNames;

    @Schema(description = "导入不同类型结果数量，key 数量类型，value 数量", requiredMode = Schema.RequiredMode.REQUIRED)
    private HashMap<String, Integer> numsCount;
}
